<div style="text-align: center; left: 30%; top: 30%; position: fixed;">
    <div id="login_form"> 
        <h1>Log in</h1>
        <?php
        echo form_open('login/validate_credentials');
        echo form_input('username', 'Username');
        echo form_password('password', 'Password');
        echo form_submit('submit', 'Login');
        echo anchor('login/signup', 'Create account')
        ?> 
    </div>
</div>
